import request from '@/utils/request'

// 林下参参列表
export function getPlantingList(params: any) {
    return request.get({ url: '/plants.plants/lists', params }, { ignoreCancelToken: true })
}

// 林下参详情
export function getPlantingDetail(params: any) {
    return request.get({ url: '/plants.plants/detail', params })
}

// 林下参编辑
export function plantingEdit(params: any) {
    return request.post({ url: '/plants.plants/edit', params })
}

// 林下参调整
export function plantingAdjustMoney(params: any) {
    return request.post({ url: '/plants.plants/adjustMoney', params })
}
// 园参二维码图片列表
export function getPlantingQrcodeListsa(params: any) {
    return request.get({ url: 'plants.plants/qrcodeLists', params })
}

export function getPlantingsArea(params: any) {
    return request.get({ url: '/plants.plants/getTotals', params })
}
